package com.sl.au.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.sl.au.entity.ExdeBeforeContractNotices;
/***
 * 
 * @author chuck
 * 20170224 合同签订前审批其它注意条款子表DAO
 */

public interface ExdeBeforeContractNoticesRepository extends JpaRepository<ExdeBeforeContractNotices, String>{
	
	@Transactional
	@Modifying
	@Query("delete from ExdeBeforeContractNotices c where c.id=?")
	void deleteById(String ids);
}
